view,
navigator,
input,
scroll-view,
button {
  box-sizing: border-box;
}

button {
  border: none;
  padding: 0rpx;
  margin: 0rpx;
}

swiper,
scroll-view {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

image {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.ellipsis {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

page {
  background: #f8f8fa;
  font-size: 26rpx;
  color: #333;
}

/* #ifdef H5 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
  font-weight: normal;
  line-height: normal;
}
body,
ul,
h1,
h3,
h4,
h5,
h6,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  outline: none;
  color: #333;
}
i,
em {
  font-style: normal;
}

img {
  vertical-align: middle;
}
ul {
  list-style: none;
}

ol {
  list-style: none;
}

/* #endif */
